home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3c
/
yp_update.z
/
yp_update
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
YYYYPPPP____UUUUPPPPDDDDAAAATTTTEEEE((((3333YYYY)))) YYYYPPPP____UUUUPPPPDDDDAAAATTTTEEEE((((3333YYYY))))
NNNNAAAAMMMMEEEE
yp_update - changes NIS information
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<rrrrppppccccssssvvvvcccc////yyyyppppccccllllnnnntttt....hhhh>>>>
yyyypppp____uuuuppppddddaaaatttteeee((((cccchhhhaaaarrrr ****ddddoooommmmaaaaiiiinnnn,,,, cccchhhhaaaarrrr ****mmmmaaaapppp,,,, uuuunnnnssssiiiiggggnnnneeeedddd yyyyppppoooopppp,,,, cccchhhhaaaarrrr ****kkkkeeeeyyyy,,,, iiiinnnntttt kkkkeeeeyyyylllleeeennnn,,,,
cccchhhhaaaarrrr ****ddddaaaattttaaaa,,,, iiiinnnntttt ddddaaaattttaaaalllleeeennnn))));;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
yyyypppp____uuuuppppddddaaaatttteeee(((()))) is used to make changes to the NIS database. The syntax is
the same as that of yyyypppp____mmmmaaaattttcccchhhh(((()))) except for the extra parameter _y_p_o_p which
may take on one of four values. If it is YYYYPPPPOOOOPPPP____CCCCHHHHAAAANNNNGGGGEEEE,,,, then the data
associated with the key will be changed to the new value. If the key is
not found in the database, then yyyypppp____uuuuppppddddaaaatttteeee(((()))) will return YYYYPPPPEEEERRRRRRRR____KKKKEEEEYYYY. If
_y_p_o_p has the value YYYYPPPPOOOOPPPP____IIIINNNNSSSSEEEERRRRTTTT,,,, then the key-value pair will be inserted
into the database. The error YYYYPPPPEEEERRRRRRRR____KKKKEEEEYYYY is returned if the key already
exists in the database. To store an item into the database without
concern for whether it exists already or not, pass _y_p_o_p as YYYYPPPPOOOOPPPP____SSSSTTTTOOOORRRREEEE and
no error will be returned if the key already or does not exist. To
delete an entry, the value of _y_p_o_p should be YYYYPPPPOOOOPPPP____DDDDEEEELLLLEEEETTTTEEEE.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ypupdated(1M), updaters(1M)
PPPPaaaaggggeeee 1111